updating oE position

Graphics - Cross Platform

Routines

position

<built-in> procedure position(integer row, integer column) 
Parameters:
  1. row : an integer, the index of the row to position the cursor on.
  2. column : an integer, the index of the column to position the cursor on.

sets the cursor to where the next character will be output.

Comments:

Set the cursor to line row, column column, where the top left corner of the screen is line 1, column 1. The next character displayed on the screen will be printed at this location. position will report an error if the location is off the screen. The Windows console does not check for rows, as the physical height of the console may be vastly less than its logical height.

Example 1:
position(2,1) 
-- the cursor moves to the beginning of the second line from the top 
See Also:

get_position

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu